<?php
?>

<div id='content-data'>
    <div class='ajax-waiting'></div>
</div>

<script type='text/javascript'>
    // démarrage
    $(function(){
	ajax = $.ajax({
	    type: 'post',
	    url: '<?php echo $this->url('RHX/default', array('controller'	 => 'import', 'action'	 => 'load')) ?>'
	});
	ajax.done(function(data) {
	    $('#content-data').hide().html(data).fadeIn('fast');
	});
    });
</script>

<style type='text/css'>
    .ajax-waiting{
	display: block;
	width: 100%;
	height: 100%;
	background: url('<?php echo $this->basePath(); ?>/img/rh/ajax-loading.gif') no-repeat center center;
    }
</style>
